<template>
	<view class="content" v-html="html_content"></view>
</template>

<script>
	import proto from '@/common/protocol.js'
	export default {
		data() {
			return {
				html_content: ''
			}
		},
		onLoad(options) {
			const nav_title = options.type == 1 ? 'See Wow用户协议' : (options.type == 2 ? 'See Wow隐私政策' : 'See Wow服务协议')
			uni.setNavigationBarTitle({
				title: nav_title
			})
			this.html_content = options.type == 1 ? proto.userProto : (options.type == 2 ? proto.policy : proto.profitNotice)
		},
		methods: {
			
		}
	}
</script>

<style scoped lang="scss">
	.content {
		padding: 30rpx 30rpx 48rpx;
	}
</style>